svm: Fix __update_guest_eip() to clear interrupt shadow.
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 20 Nov 2007 15:05:36 +0000 (15:05 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 20 Nov 2007 15:05:36 +0000 (15:05 +0000)
commit9c17aa96e65286100931b4014e662c5f1d02f409
tree3f37275bc7e940c24f7c61c1b2a0d556b189fb3a
parent6ca4cce4f4961ef1bd5cdc74680399ec58344780
svm: Fix __update_guest_eip() to clear interrupt shadow.
Get rid of assertions about return value of get_instruction_length()
-- instead test in __update_guest_eip() and crash the domain.
Cache value of 'current' in svm_do_hlt().

The mismanagement of the interrupt shadow was found by Christoph
Egger of AMD.

Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/x86/hvm/svm/svm.c